package com.jzx.provider.cv.dto.command;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * @author daihuihui
 * @date 2019/2/5
 */
@Data
@Builder
public class EducationInfoCommand implements Serializable {

    private Integer id;

    /**
     * 对应简历id
     */
    private Long cvId;

    /**
     * 入学日期
     */
    private String startDate;

    /**
     * 毕业日期
     */
    private String endDate;

    /**
     * 毕业院校
     */
    private String school;

    /**
     * 专业
     */
    @Size(min = 0, max = 20)
    private String major;

    /**
     * 是否统招
     */
    private Integer isRecruitment;

    /**
     * 是否第一学历
     */
    private Integer firstOrNot;
    /**
     * see {@link com.jzx.provider.cv.constants.Education}
     */
    private Integer education;

    /**
     * see {@link com.jzx.provider.cv.constants.Validate}
     */
    private Integer status;

}
